package com.design.pattern.command.after;

import com.design.pattern.command.before.Barbecue;

/**
 * 长沙先飞信息科技有限公司<br>
 * Created with IntelliJ IDEA.<br>
 * Date:2024/6/20<br>
 * Time:16:44<br>
 * 功能描述：<br>
 *      烤鸡翅的命令
 * @author huang hou chun
 * @since JDK 1.8 <br>
 * Copyright (c) 2023 www.csxfrj.com System Incorporated All Rights Reserved.
 */
public class BakeChickenWingCommand extends Command {

    public BakeChickenWingCommand(Barbecue receiver) {
        super(receiver);
    }

    @Override
    public void execute() {
        receiver.bakeChickenWing();
    }

    @Override
    public String toString() {
        return "烤鸡翅";
    }
}
